package com.jmu.posms.dto;

import lombok.Data;

/**
 * 订单中的书刊信息表单
 */
@Data
public class OrderFormDto {
    /**
     * 书刊号
     */
    private String id;
    /**
     * 书刊名
     */
    private String name;
    /**
     * 单价
     */
    private Double price;
    /**
     * 出版社
     */
    private String publisher;
    /**
     * 数量
     */
    private Integer num;



    public OrderFormDto() {
    }

    public OrderFormDto(String id, String name, Double price, String publisher, Integer num) {
        this.id = id;
        this.name = name;
        this.price = price;
        this.publisher = publisher;
        this.num = num;
    }
}
